import { AIPropertyDescriptor, IField } from "../AIProperty";
import { Field } from "./Field";

export class TextAreaField extends Field implements IField {
    create(o: AIPropertyDescriptor, data: any) {
        let p = this._create(o, 'TextArea', data, '');
        let val = this._panel.getChild("value");
        val.on("submit", this._changeHandle, this);
        return p;
    }
}